package com.sz.biz.logistics.core.dto;

import com.sz.biz.logistics.core.entity.ProductServicePropertyEnum;

import java.util.List;

/**
 * Function: ProductServiceRelDto. <br>
 * Date: 2017年04月25日 14:17 <br>
 * Author: wentao.chang
 */
public class ProductServiceRelDto {
    /**
     * id
     */
    private Integer id;

    /**
     * 生成服务单时可按照此顺序执行
     */
    private Integer ordinal;

    /**
     * 产品
     */
    private Integer productId;

    /**
     * 产品名称
     */
    private String productName;

    /**
     * 产品uid
     */
    private String productUid;

    /**
     * 是否主服务，是否必选服务，是否可选服务
     */
    private ProductServicePropertyEnum serviceProperty;

    /**
     * 属性
     */
    private String servicePropertyName;

    /**
     * 服务类型编码
     */
    private String serviceTypeCode;
    /**
     * 服务类型名称
     */
    private String serviceTypeName;

    /**
     * 价格权重
     */
    private Integer priceWeighting;
    /**
     * 时效权重
     */
    private Integer agingWeighting;

    /**
     * 描述
     */
    private String description;

    private boolean isEnable;

    List<ProductServiceRelInfo> productServiceRelInfos;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductUid() {
        return productUid;
    }

    public void setProductUid(String productUid) {
        this.productUid = productUid;
    }

    public Integer getOrdinal() {
        return ordinal;
    }

    public void setOrdinal(Integer ordinal) {
        this.ordinal = ordinal;
    }

    public ProductServicePropertyEnum getServiceProperty() {
        return serviceProperty;
    }

    public void setServiceProperty(ProductServicePropertyEnum serviceProperty) {
        this.serviceProperty = serviceProperty;
    }

    public String getServiceTypeCode() {
        return serviceTypeCode;
    }

    public void setServiceTypeCode(String serviceTypeCode) {
        this.serviceTypeCode = serviceTypeCode;
    }

    public String getServiceTypeName() {
        return serviceTypeName;
    }

    public void setServiceTypeName(String serviceTypeName) {
        this.serviceTypeName = serviceTypeName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getServicePropertyName() {
        return servicePropertyName;
    }

    public void setServicePropertyName(String servicePropertyName) {
        this.servicePropertyName = servicePropertyName;
    }

    public Integer getPriceWeighting() {
        return priceWeighting;
    }

    public void setPriceWeighting(Integer priceWeighting) {
        this.priceWeighting = priceWeighting;
    }

    public Integer getAgingWeighting() {
        return agingWeighting;
    }

    public void setAgingWeighting(Integer agingWeighting) {
        this.agingWeighting = agingWeighting;
    }

    public boolean getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(boolean enable) {
        isEnable = enable;
    }

    public List<ProductServiceRelInfo> getProductServiceRelInfos() {
        return productServiceRelInfos;
    }

    public void setProductServiceRelInfos(List<ProductServiceRelInfo> productServiceRelInfos) {
        this.productServiceRelInfos = productServiceRelInfos;
    }
}

